<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--dwz分页查询 隐藏传值表单  begin --%>
<form id="pagerForm" method="post" action="#rel#">
	<input type="hidden" name="pageNum" value="${currentPage }" /> 
	<input type="hidden" name="numPerPage" value="${numPerPage}" /> 
	<input type="hidden" name="orderField" value="${param.orderField}" /> 
	<input type="hidden" name="orderDirection" value="${param.orderDirection}" />
</form>
<%--dwz分页查询 隐藏传值表单  end --%>

<%--页头 检索条件区域 begin --%>
<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);"	action="dict_list.action" method="post">
		<div class="searchBar">
			<table class="searchContent" >
				<tr>
					<td>
						<label>字典类型：</label>
						<select class="combox" name="dicTypeName">
							<option value="">---所有类型---</option>
							<c:forEach items="${dicTypeNameList }" var="dic">
								<option ${dic==dicTypeName?"selected":"" } value="${dic}">${dic}</option>
							</c:forEach>
							
						</select>
					</td>
					<td style="width: 5%;" >
						<div class="buttonActive">
							<div class="buttonContent">
								<button type="submit">检索</button>
							</div>
						</div>
					</td>
				</tr>
			</table>
		</div>
	</form>
</div>
<%--页头 检索条件区域 end --%>

<%--内容展示区域 begin --%>
<div class="pageContent">
	<%-- 工具栏  begin --%>
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="dict_addUI.action" rel="dict_addUI"  target="dialog" mask="true" title="新增字典"  ><span>新增</span></a></li>
		</ul>
	</div>
	<%-- 工具栏 end  --%>
	<%-- 分页table列表 begin --%>
	<table class="table" width="100%" layoutH="114">
		<thead>
			<tr>
				<th width="" align="center"><input type="checkbox"  group="dicIds" class="checkboxCtrl"></th>
				<th width="" orderField="dicCode"  <c:if test='${param.orderField == "dicCode" }'> class="${param.orderDirection}"  </c:if> >字典编码</th>
				<th width="" orderField="dicName" <c:if test='${param.orderField == "dicName" }'> class="${param.orderDirection}"  </c:if>>字典名称</th>
				<th width="" orderField="dicTypeCode" <c:if test='${param.orderField == "dicTypeCode" }'> class="${param.orderDirection}"  </c:if><c:if test="${empty param.orderField }">class="asc"</c:if>>类型编码</th>
				<th width="" orderField="dicTypeName" <c:if test='${param.orderField == "dicTypeName" }'> class="${param.orderDirection}"  </c:if>>类型名称</th>
				<th width="" align="center" >字典描述</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${recordList}" var="dict" varStatus="status">
			<tr target="dicId" rel="${dict.dicId }}">
				<td><input name="dicIds" value="${dict.dicId }" type="checkbox"></td>
				<td>${dict.dicCode}</td>
				<td>${dict.dicName}</td>
				<td>${dict.dicTypeCode}</td>
				<td>${dict.dicTypeName}</td>
				<td>${dict.dicDesc}</td>
			</tr>
			</c:forEach>
		</tbody>
	</table>
	<%-- 分页table列表 end --%>
	
	<%--分页信息区 begin--%>
	<%@ include file="/WEB-INF/jsp/public/panelBar.jsp"%>	
	<%--分页信息区 end--%>
</div>
<%--内容展示区域 end --%>